package com.hoperun.nocserver.common.entity;

/**
 * 分页基类
 * 
 * @author zhu_longxiang
 *
 */
public class Page {

	private int page; // 第几页
	private int rows; // 每页条数

	public Page(int page, int rows) {
		super();
		this.page = page;
		this.rows = rows;
	}

	public Page(String page, String rows) {
		super();
		this.page = Integer.parseInt(page);
		this.rows = Integer.parseInt(rows);
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
	}

}
